/**
 * Created by Freeman on 2017/7/11.
 */
const Router = require('koa-router')
const UserController = require('../controllers/user')

const router = new Router()

router.post('/register', UserController.register)
router.post('/token', UserController.login)

module.exports = router